﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface IPhongLamViec
    {
        [OperationContract]
        IEnumerable<PHONGLAMVIEC> GetByAllPhongLamViec();

        [OperationContract]
        String InsertPhongLamViec(PHONGLAMVIEC data);

        [OperationContract]
        String UpdatePhongLamViec(PHONGLAMVIEC data);

        [OperationContract]
        String DeletePhongLamViec(string id);

        [OperationContract]
        IEnumerable<PHONGLAMVIEC> GetByTopPhongLamViec(string _top, string _where, string _order);

        [OperationContract]
        String ApprovePhongLamViec(PHONGLAMVIEC data);
    }
}
